<form class="layui-form model-form" action="">
	<input name="id" id="id" type="hidden" value="{$info.id|default=0}">
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">字典标题：</label>
			<div class="layui-input-inline">
				<input name="title" id="title" value="{$info.title|default=''}" lay-verify="required" autocomplete="off" placeholder="请输入字典标题" class="layui-input" type="text">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">字典标签：</label>
			<div class="layui-input-inline">
				<input name="tag" id="tag" value="{$info.tag|default=''}" lay-verify="required" autocomplete="off" placeholder="请输入字典标签" class="layui-input" type="text">
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">字典类型：</label>
			<div class="layui-input-inline">
				{common:select param="type_id|1|字典类型|name|id" data="$typeList" value="isset($info['type_id']) ? $info['type_id'] : 0"}
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">状态：</label>
			<div class="layui-input-inline">
				{common:switch name="status" title="在用|停用" value="isset($info['status']) ? $info['status'] : 1"}
			</div>
		</div>
	</div>
	<div class="layui-form-item" style="width: 625px;">
		<label class="layui-form-label">字典值：</label>
		<div class="layui-input-block">
			<textarea name="value" placeholder="请输入字典值,例如(性别：1:男 2:女 3:未知)" class="layui-textarea">{$info['value']|default=''}</textarea>
		</div>
	</div>
	<div class="layui-form-item" style="width: 625px;">
		<label class="layui-form-label">字典备注：</label>
		<div class="layui-input-block">
			<textarea name="note" placeholder="请输入字典备注" class="layui-textarea">{$info['note']|default=''}</textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">显示顺序：</label>
			<div class="layui-input-inline">
				<input name="sort" id="sort" value="{$info.sort|default=125}" lay-verify="required|number" autocomplete="off" placeholder="请输入序号" class="layui-input" type="text">
			</div>
		</div>
	</div>
	{widget:submit name="submit|立即保存,close|关闭"}
</form>